package com.ruoyi.basic.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 物料类别对象 material_category
 * 
 * @author ruoyi
 * @date 2024-08-13
 */
public class MaterialCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 物料类别ID */
    private Long macId;

    /** 物料类别名称 */
    @Excel(name = "物料类别名称")
    private String macName;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Long macDisplayorder;

    public void setMacId(Long macId) 
    {
        this.macId = macId;
    }

    public Long getMacId() 
    {
        return macId;
    }
    public void setMacName(String macName) 
    {
        this.macName = macName;
    }

    public String getMacName() 
    {
        return macName;
    }
    public void setMacDisplayorder(Long macDisplayorder) 
    {
        this.macDisplayorder = macDisplayorder;
    }

    public Long getMacDisplayorder() 
    {
        return macDisplayorder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("macId", getMacId())
            .append("macName", getMacName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("macDisplayorder", getMacDisplayorder())
            .toString();
    }
}
